package de.pcsoft.framework.jclr;

/**
 * Represent an error in the result object {@link JCLRResult}
 *
 * User: Christoph
 * Date: 14.06.12
 * Time: 21:58
 */
public final class JCLRError {

    private JCLRErrorType errorType;
    private String errorMessage;

    JCLRError(JCLRErrorType errorType, String errorMessage) {
        this.errorType = errorType;
        this.errorMessage = errorMessage;
    }

    public JCLRErrorType getErrorType() {
        return errorType;
    }

    public String getErrorMessage() {
        return errorMessage;
    }
}
